/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package sdk.weinxin.beans.kfmessage;

import sdk.weinxin.beans.message.Music;
import com.fasterxml.jackson.annotation.JsonTypeName;

/**
 *
 * @author 张森
 */
@JsonTypeName(value = MusicKfMessage.TYPE)
public class MusicKfMessage extends KfMessage {

    public static final String TYPE = "music";

    private Music music;

    public MusicKfMessage() {
        this.setMsgtype(TYPE);
    }

    public MusicKfMessage(String touser, Music music) {
        super(touser, TYPE);
        this.music = music;
    }

    public Music getMusic() {
        return music;
    }

    public void setMusic(Music music) {
        this.music = music;
    }

}
